package com.swt.testdemo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.swt.testdemo.entity.DictCityEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author BleethNie
 * @version 1.0
 * @date 2020/11/20 8:45
 **/
@Mapper
@Repository
public interface DictCityDao extends BaseMapper<DictCityEntity> {


    List<DictCityEntity> selectByProvinceId(@Param("dictProvinceId") Integer dictProvinceId);

    DictCityEntity selectByCityFullCode(@Param("cityFullCode") String cityFullCode);

}
